dhcpv4: add support for RFC4361-style clientid
authorDavid Härdeman <[email protected]>
Thu, 9 Oct 2025 08:38:23 +0000 (10:38 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 10 Nov 2025 12:05:34 +0000 (13:05 +0100)
commite63ec4001f837fd26909ba427d2efd6150ced68f
tree4228c817f6bd2b916e5a42aba6e8574b4ea3406d
parent29357349b33a171f276fb248d416ef3239dad3c3
dhcpv4: add support for RFC4361-style clientid

This adds support for DHCPv6-style client identifiers to the dhcpv4 codebase,
as per RFC4361. It also ensures RFC6842-compliance by including the client
identifier (no matter which kind it is) in replies.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/299
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv4.c
src/dhcpv4.h
src/odhcpd.h